package com.zudada.servermain.POJO.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 港口设施视图对象
 */
@Data
public class PortFacilityVO {
    @ApiModelProperty("设施ID")
    private String facilityId;
    @ApiModelProperty("港口ID")
    private String portId;
    @ApiModelProperty("设施名称")
    private String facilityName;
    @ApiModelProperty("设施类型")
    private String facilityType;
    @ApiModelProperty("容量")
    private BigDecimal capacity;

    @ApiModelProperty("设备信息(JSON)")
    private JsonNode equipmentInfo;
    @ApiModelProperty("状态")
    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("更新时间")
    private Date updateTime;
}
